<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            /* border: 2px solid #ccc; */
            border-width: 2px;
        }
        .wrapper {
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>
    <div class="wrapper"></div>
    <!-- 设置同样的属性权重大的覆盖权重小的 -->
    
</body>
</html>